<?php
	require_once('../includes/config.php');
	$name = $_POST['name'];
	$tos = $_POST['tos'];
	$copyr = $_POST['copyr'];
	$about = $_POST['about'];
	$sql = "UPDATE tbl_config SET res_name = '$name', res_copyright = '$copyr', res_aboutus = '$about', res_tos = '$tos' WHERE '1' = '1'";
	$result = mysql_query("$sql") or die("can not query");
	echo 1;
?>